package org.cerberus.platform.api;

public final class PStatic {

	PStatic() {
		// no access
	}
	
	public static void attributeChange(Object component, String attributeName) {
		getPlatform().attributeChange(component, attributeName);
	}
	
	private static ThreadLocal<IPlatform> __platform = new ThreadLocal<IPlatform>();
	
	public static IPlatform getPlatform() {
		return __platform.get();
	}
	
	static void setPlatform(IPlatform platform) {
		__platform.set(platform);
	}
}
